package com.pactera.madp.cp.api.entity.workroom;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.pactera.madp.cp.api.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * WorkInternalGroupEntity
 *
 * @author jun
 * @version 1.0
 * 2021/8/30 11:29
 **/
@Data
@TableName("cp_work_internal_group")
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "内部群信息表")
public class WorkInternalGroupEntity extends BaseEntity<WorkInternalGroupEntity> {


    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "群主id")
    private Integer ownerId;

    @ApiModelProperty(value = "群主微信id")
    private String owner;

    @ApiModelProperty(value = "成员id列表")
    private String userList;

    @ApiModelProperty(value = "群名称")
    private String name;

    @ApiModelProperty(value = "企业id")
    private Integer corpId;

    @ApiModelProperty(value = "群微信id")
    private String chatId;
}
